package org.jsola.hr.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.entity.BaseTreeDO;
import org.jsola.core.vo.BaseTreeVO;

import java.util.List;

/**
 * @author wxz
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "【部门查询信息】详情展示对象")
@Data
public class DepInfoSelectedVO extends BaseTreeDO<String> {

    private static final long serialVersionUID = 1L;

    /** 主键ID */
    @ApiModelProperty(notes = "主键ID", example = "")
    private String id;

    /** 名称 */
    @ApiModelProperty(notes = "名称", example = "")
    private String name;

    /** 上级部门id */
    @ApiModelProperty(notes = "上级部门id", example = "")
    private String parentId;

    /** 是否选中 */
    @ApiModelProperty(notes = "是否选中", example = "true-是,false-否")
    private Boolean isSelected;

    @ApiModelProperty(notes = "是否部门;true-是,false-否", example = "")
    private Boolean isDept;

    @ApiModelProperty(notes = "父级节点名称", example = "")
    private String parentName;

    @ApiModelProperty(notes = "员工所属部门名称", example = "")
    private String depName;

    @ApiModelProperty(notes = "岗位名称", example = "")
    private String positionName;

    @ApiModelProperty(notes = "身份证号", example = "")
    private String idCard;

    @ApiModelProperty(notes = "员工id", example = "")
    private String empId;

    @ApiModelProperty(notes = "员工对应的用户id", example = "")
    private String userId;
}
